import request from '../utils/request';

export default {
    // 获取所有教师
    getAllTeacher() {
        return request({
            url: `/user/findAllByParams`,
            method: 'get',
        });
    },
    searchPersonTask(yearTargetId,deptId,name,isAssess){
        return request({
            url: `/statistics/user/findByCondition`,
            method: 'get',
            params: {
                yearTargetId, deptId, name, isAssess
            }
        });
    }
}